A vesicle is sometimes formed when the cell is doing endocytosis. Endocytosis is a process in which a cell's membrane takes in a particle from the outside and brings it inside the cell with a vesicle around it. 