Full of holes

I am only useful when I am full yet I am always full of holes. What am I?