The black marks are called eye black (a greasy black substance, not sure of its composition) and eye black strips (simple strips of black adhesive that don't smear or stain clothes.)
The reason for recievers, running backs, defensive backs, and linebackers is that it keeps the sun or night light glare from being too intense on the eyes while trying to see the play unfold. Lineman like to use a LOT of the greasy black to try and intimidate the opposition.