The cams in hives...etc

I was in science class and my incredibly boring teacher showed us a video on insects. The hot chick behind me asked me a question that I’m really wondering myself “How do they get the cameras in the hives and stuff?” How do they?! I feel like a fifth grader just asking it, but thankfully, I don’t mind…ANYway, how DO they do it without the insects or other animals running away or flying and without noticing.