How elaborate were "special effects" on stage before electricity became widespread?

by bastocrat
texpeare

"Special effects" is a broad phrase that covers many different techniques that can be visual, aural, or tactile. What sort of effects are you interested in and in what period?