Please help me understand how Arduino works.