Who controls the way in which the computer system functions and provides means by which users can interact with the computer?

Software (programs) control the way a computer operates and also defines how the user can interact with the computer through input devices.