How do amoeba get nutrition?

They eat the organisms in the water there for they are in the protist family