as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
explain how an electric motor works
user
an electric motor works by using an electromagnet to convert electrical energy into mechanical energy. it works by using an electric current to create an electromagnetic field around the motor's coil. when this field interacts with the permanent magnet it creates a force that causes the coil to rotate. this rotating motion can then be used to power a variety of machines.
assistant