aldehyde metabolic process [GO_0006081] - Virtual Fly Brain