Geometrical aspects in Yang-Mills gauge theories