Outlines of Optics and its relevance in Astronomy and Astrophysics