The function of the starter motor is to crank the engine when it engages the flywheel. The solenoid uses electromagnetic force to power the starter motor and flywheel.
Common signs of wear include sporadic engine cranking and poor starting qualities.