.pyc files are compiled bytecode files that are generated by the Python interpreter when a .py file is imported.