This is a trick or attempt to fool someone. Usually it is done playfully, and without the real intention to hurt another.
-Did you play any pranks for April Fools Day this year?
-Yes! I pranked my brother by taping a “Kick Me” sign to his back. He went to school like that and didn’t even notice!