Origin, structure and evolution of galaxies