This is always true.
A parallelogram is defined as a four-sided figure whose two pairs of opposite sides are parallel (they do not intersect when extended infinitely).
Meanwhile, a rectangle is defined as a type of four-sided figure whose sides are at right angles to each other. If all four sides of a figure are at right angles, then the opposite sides will be parallel, meaning that any rectangle is also a parallelogram.