Generic 24 Volt (DC) coil Relay in typical 5 pin layout.
Miniature size 19mm x 15mm x 15.5mm high.
Double Throw (SPDT), Non Latching, PCB Mount, with a 24v coil.
Switching current max 10A contacts up to 250V AC, 30V DC
Of course, to be clear I have to say that if you don't know what you are doing, don't use mains electricity because it can kill you, and as with any component, especially from China, it is up to you to use it appropriately in your projects and take appropriate precautions, if failure of a relay could cause damage or injury, you shouldn't be using a no-name relay (or more the point, you shouldn't design the project in that way!)
Teaching how to use a relay with or without a microcontroller is beyond the scope of my service. If you know what this is, you know what this is.