Servo motor is a motor, which we control by telling it at what angle it should be rotated and servo is trying to maintain that position.
How to work with it
Servo has 3 outputs: Power, Ground and Data.
On Data wire we apply PWM signal with different duty cycle, to control our motor.
There are a variety of different servos, so you still need to read datasheet, but this information will help you to start.
Now i will write about their structure, you don't need to know what is inside of them to use them.