A man in shorts and flip-flops is carrying a bag on his back.
A man is carrying a bag on his back.
If the man is carrying a bag, it is most likely on his back.
A man carrying a bag on his back is wearing shorts and flip-flops.
Both sentences state that a man is carrying a bag on his back.