What explains the fact that no machine is 100 percent efficient?

A. Friction transforms mechanical energy into thermal energy.

B. Thermal energy is transformed into mechanical energy by friction.

C. Potential energy can be transformed into kinetic energy.

D. Kinetic energy can be converted into mechanical energy.