Connecting PC with the same Workgroups

Hi Experts! I have a simple query and I need a complete explanation. My question is, if it's possible to connect computers that belong with the same workgroups? If so, how essential it is and how to set it up correctly? The purpose is to share resources between computers and workgroups. Any ideas?
Thanks.
