i am a newbie to raspberry pi and i want to connect around 8 raspberry pi in a local wi-fi network so that they work together. i am sorry if this is a very common question. thank you
Just make one of your RasPis an access point. You will find many tutorials about this on the web, for example Setting up a Raspberry Pi as an access point - the easy way or another way with Setting up a Raspberry Pi as a Wireless Access Point. Then all other RasPis can connect to the access point and communicate to each other. From a default image the RasPis are able to do this out of the box.