I can easily grasp the idea of tanks of fuel inside the fuselage of an aircraft, and the ease of sealing such tanks in a relatively standard shape. However, I'm having a hard time understanding how wing tanks could be fit around the internal structure of a wing, as I envision the inside of a wing (especially nearer to the fuselage) to be a honeycomb of structural pieces that would be very difficult to seal around or find any large volumes of contiguous space for fitting tanks. Is the wing structure itself the fuel tank, or are there separate fuel tank bladders that are somehow fit into the wing voids?
For my question, I am not concerned about military fuel tanks which might have special materials in the walls which could seal off a leak due to combat damage, but rather just non-military aircraft.