How are a flashlight and lightening similar and how are they different?