Taking pictures of the sky isn’t new. The first photograph of the sun, a daguerrotype, was made in 1845 by French physicists Louis Fizeau and Lion Foucault, proving that from the earliest days of photography, people were turning their cameras to the skies. Even Pluto was discovered through the painstaking study of photographs of the sky.
These days, the equipment is much fancier, but the sky which we photograph is the same as it ever was. But these days, we have telescopes like Hubble, which can photograph deep sky objects. We have the ability to create clear long exposures to see the path of the stars across the sky, making star trails.
Here are a few good examples of astrophotography. Click to embiggen.