When the central atom is surrounded by two things, it has a linear geometry, with 180o bond angles.
Information provided by: http://learn.chem.vt.edu