This is a prospective observational study comprised patients with moderate or severe COPD or asthma exacerbation in primary care settings. Patients will be examined twice - during an exacerbation of the disease and in a stable phase. Patients will undergo routine clinical examination including lung auscultation with conventional stethoscope and LungPass device. Moreover, symptoms and anamnesis data, results of symptoms questionnaires (CAT for COPD and ACQ-5 for asthma), result of diagnostic questionnaire from the LungPass App, spirometry data, serum procalcitonin (for COPD patients), C-reactive protein, white blood cell count and blood eosinophil count, results of sputum cytology examination, Х-ray results (if carried out according to indications) will be collected.