The camera is a Nikon D3300 DSLR ... my lenses are a 35mm Prime focus lens, an 18-55mm Zoom lens and a 55-300mm Zoom lens.
The Sun, Moon and Nebula shots are going to be on the 300mm zoom... lightning will likely be the 18-55mm zoom or the 35mm prime. For exact details on a specific shot... look at it's EXIF properties ( I don't strip that out ). I do have a couple of Moon shots that I took through my 5.1" telescope but I have to take two pics and then join them since the whole Moon won't fit in one shot, so I don't mess with that too often. At some point I'll take nebula and star cluster shots through the scope but just haven't had time since I got it.
Most of my lightning shots will be for 2-10 seconds long using a remote release... and the secret is just to keep clicking away unless you have a high dollar Lightning Trigger ( that is an actual brand name product btw ) for your camera.