Difference between ComputeBuffer and GraphicsBuffer in Unity?

At first I thought that ComputeBuffer's could only be used in compute shaders and that GraphicsBuffer's could only be used in materials. But Unity provides overloads for setting ComputeBuffer and GraphicsBuffer to both compute shaders and materials. So how do they differ?