For a rectangle, its length states how long it is and width states how broad it is. But for a square all its sides are equal, hence length and width is also same for it.