The main differences are.
A triangle is three sided while a rectangle is four sided.
The corners of a triangle can be any angle.
All corners of a rectangle must be 90 degrees. This means that the left and right sides are parallel, and the top and bottom sides are parallel.
For more guidance, join EDUCARE