Both matrices relate corresponding points in two images. The difference is that in the case of the Fundamental matrix, the points are in pixel coordinates, while in the case of the Essential matrix, the points are in "normalized image coordinates". Normalized image coordinates have the origin at the optical center of the image, and the $x$ and $y$ coordinates are normalized by the focal length in pixels: $f_x$ and $f_y$ respectively, so that they are dimensionless.
The two matrices are related as follows:
$E = K^TFK$, where $K$ is the intrinsic matrix of the camera.
Note that this is a special case, where both images have been taken with the same camera. If the images were taken with different cameras, then you would have two different sets of intrinsics: $K$ and $K'$. Then $E = (K')^TFK$.
$F$ has 7 degrees of freedom, while $E$ has 5 degrees of freedom, because it takes the camera parameters into account. That's why there is an 8-point algorithm for computing the fundamental matrix and a 5-point algorithm for computing the essential matrix.
One way to get 3D camera motion from matching points from a pair of images images is to estimate the fundamental matrix, compute the essential matrix, and then to get the rotation and translation between the cameras from the essential matrix. This, of course, assumes that you know the intrinsics of your camera. Also, this would give you up-to-scale motion, with the translation being a unit vector.