A matte box is used on the end of a lens to block the sun or other light source in order to stop glare and or lens flare. At the same time it can be used to hold optical filters in front of the lens for more control over your image with light. Matte boxes come in all shapes and sizes for all cameras.
Can hold optical filters
More control over your images