A square is defined as a quadrilateral whose sides are all congruent and with four right angles. If the quadrilateral has four right angles, opposite sides must be parallel. So it is also a parallelogram.