It's a science...

  

con·fec·tion

/kənˈfekSH(ə)n/ n.
 

1. a sweet preparation

2. a work of fine or elaborate craftsmanship