Gradient question

I don’t really know how to describe this, but when you put a layer over the top of a picture where it goes from a color and instead of the gradient going to a different color it goes to a clear area. Does that make sense?