Ok, i'm going to give you a quick photography 101.
ISO - setting that makes the sensor more sensitive to light. higher the setting, the more noise you are prone to get.
shutter speed - the speed of the shutter, the longer the shutter speed, the more light comes in and hits the sensor, but you will usually get blurred images unless camera is stabilized. Faster shutter lets less light hit the sensor, and captures more frozen images.
Long shutter (exaggerated)
fast shutter:
then there's aperture.
the wider open (smaller the number), the wider the shutter opens to let light in. the smaller the aperture (larger number) lets less light in. Look at the pic below for what happens with the different apertures.
Knowing these 3 things can help you take better pictures. A high iso setting, and low aperture combined with a tripod and long shutter will help you get similar results to the upper picture.
The top picture you posted was done with professional lighting too so keep that in mind.
I just grabbed all these photos off of google