It all depends where you work, who you work with, and how you get the position. It can be for a credit, independent study, or paid position. Now as a undergrad you probably won't research much, let alone discover a new drug or something like that.You will most likely be helping out grad students or profs by doing a small things around the lab and that can mean (depending on the type of the lab) PCR, culture plating, growing cells, counting them, washing dishes, preparing solutions
🙂. However, you can get a chance to work on your own project if you know what are you doing, lab has funding etc. The real thing is done by grad students who will use you as their help so that they do not have to spend time doing a small stuff. The beggining is like that, but later you can gain more trust and responsibility.
This is win -win for everybody involved cause you help out in lab, but in return you: learn a lot, can even gain independence during some projects, get your name on publications, good grade(if taking for a credit) good LOR.
Now as for the publications: depending what the research is, publications can be good ones, or as just as 80% -90% out there - plain usless.
😱 But hey, you get your name on there and it is all good. More publications= more money in lab=more new projects =and more experience for you. Publications can be done by you if you did something significant and got some project done, or you can be on there cause you were helping out. But, then your name is not first, its second, third .....
This is just from my experience, but there are many undergrads who get publications and they are the first author, and get cool independent projects.
I got into the lab by emailing bunch prof. who had labs, only 3 of them replied with "sorry keep looking", and one took me on. Turned out this guy is a big name and well respected for what he does not just at the University but in the whole wide world.
🙂 I am taking it for the grade, got LORs, will get my own project, and a publication in fall.
So email people and bug them , the chances are they have students who are graduating in near future so the lab needs people, or they just got a new project and they need someone to wash all those glassware

and that is how you start. Good luck!!