Electronic properties and chemical bondings of CHNO compounds