A parallelogram is a quadrilateral with two pairs of parallel sides, while a rectangle is a parallelogram with four right angles.