Electronic Structure and Optical Properties