A controller is a device or program that manages or directs something. In computer science, it refers to a software component responsible for coordinating and overseeing the behavior of other components in a system. It can also refer to an individual who has authority or influence over others, such as a manager at work.