There are two main types of cams used in industries,
Radial cam. On this cam the follower operates in a plane perpendicular the axis of the camshaft which is raised and lowered as the cam revolves.
Cylindrical Cam. On this cam the follower oscillates in a plane parallel with the axis of the camshaft .