datalogging without computer

How are the things powered, exactly? Connected to Arduino power pins, or directly to the power supply?

How does the power supply connect to the Arduino exactly?