To create a dispenser, you must have 7 cobblestone, a bow, and a piece of redstone.
For those who are new to Minecraft, redstone is an ore used for mechanics and can be found underground. And a bow is created by 3 sticks and 3 pieces of string.
If you are still confused, here is a video to help explain it.
Good Luck to all and good hunting. <:3