Endocytosis is a cellular process in which substances are brought into the cell by engulfing them in a vesicle formed from the plasma membrane. Exocytosis, on the other hand, is the process by which cells expel materials in vesicles that fuse with the plasma membrane, releasing their contents outside the cell.
In summary, exocytosis is the reverse of endocytosis.