If you are assuming that all those lines attached to the carbon are connected to hydrogens, it is glycol (more formally ethylene glycol or 1,2-ethanediol as Goala said). If this is a general view where the carbons could be attached to anything, this functional group is usually referred to as a 1,2-diol or as an a,b-diol