I suspect you are asking about lenses that were used with a Canon EOS-3 film camera. I also suspect you want to use them with a Canon EOS 7D digital SLR camera.
Yes, those older Canon film lenses will be fully compatible with a new Canon digital camera as they both use the same EOS system and EF lens mount.
Many older lenses from 3rd party companies like Sigma and Tamron may not be compatible as they were reverse engineered and can cause errors when used on the latest Canon cameras.