Where does Lightning Start?

Lightning begins high up in the sky when static electricity builds up due to air molecules rubbing against eachother simmillar to socked feet on a new carpet. Then lightning is the discharge or release of this built up energy.