My professor has the idea of a subset being pathwise connected in his notes but he never talked about it. I would appreciate any help.

He says...

Let be a subset of complex numbers. is pathwise connected if given any two points , there exists a continuous function , such that and .

He then asks us to prove that a rectangle is piecewise connected.